require "config.inc";
require "board.inc";
$connect=my_connect($host,$dbid,$dbpass,$dbname);
$admin=@mysql_fetch_array(mysql_query("select title,html,close,admin,img,file,img_maxsize,file_maxsize from boardadmin where code='$table'",$connect));
err_msg("¿¡·¯ :: Á¸ÀçÇÏÁö ¾Ê´Â Å×À̺íÀÔ´Ï´Ù..",!$admin);
if ($admin[close]==1 && !$HTTP_COOKIE_VARS[close_board_.$table]) {
meta_read("login.html?table=$table");
}
if ($admin[admin]==1) $admin[title].=" ( °ü¸®ÀÚ Àü¿ë ) ";
$result=mysql_query("select title,body,img,file,sex,name,email,homepage,almail from $table where num=$num",$connect);
$row=mysql_fetch_array($result);
mysql_close($connect);
if ($row[almail]==1) $sel_1="checked";
if ($admin[html]==1) $check_html=" ¢Æ HTML »ç¿ë°¡´É";
else $check_html="
HTML »ç¿ëºÒ°¡";
$row[title]=stripslashes($row[title]);
$row[body]=stripslashes($row[body]);
require "skin/$skin/skin.inc";
echo "